package com.xpc.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xpc.mapper.ProcessMapper;
import com.xpc.pojo.Process;
import com.xpc.service.IProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 信息处理表(Process)表服务实现类
 *
 * @author makejava
 * @since 2022-05-05 20:54:07
 */
@Service("processService")
public class ProcessServiceImpl extends ServiceImpl<ProcessMapper, Process> implements IProcessService {
    @Autowired
    private ProcessMapper processMapper;

    @Override
    public Page<Process> getPage(int currentPage, int pageSize) {
        Page page = new Page(currentPage, pageSize);
        processMapper.selectPage(page, null);
        return page;
    }


}

